<template>
  <div class="spin">
    <img v-if="image.length" :src="image" />
    <!-- <img src="../assets/img/loading.gif" /> -->
  </div>
</template>

<script>
import image from "../assets/img/loading.gif";

export default {
  data() {
    return {
      image: image,
    };
  },
  props: ["type"],
  mounted() {},
};
</script>

<style lang="scss">
.spin {
  img {
    width: 50px;
  }
}
</style>